package com.jingdianjichi.subject.converter;

import com.jingdianjichi.subject.eneity.SubjectCategoryBO;
import com.jingdianjichi.subject.eneity.SubjectLabelBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectCategory;
import com.jingdianjichi.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectLabelConverter {
    SubjectLabelConverter INSTANCE = Mappers.getMapper(SubjectLabelConverter.class);
    SubjectLabel converterBoToCategory(SubjectLabelBO subjectLabelBO);
    List<SubjectLabelBO> converterSubjcetsToBos(List<SubjectLabel> subjectLabels);
}
